home *** CD-ROM | disk | FTP | other *** search
/ C/C++ Users Group Library 1996 July / C-C++ Users Group Library July 1996.iso / vol_200 / 285_03 / usage.doc < prev    next >
Encoding:
Text File  |  1990-07-08  |  1.0 KB  |  28 lines

  1. WHAT IS BISON?
  2.  
  3.     Bison generates a table driven parser written in 'C' code from
  4.     a grammar specification.  It is upward compatible with Bell
  5.     Laboratories YACC.
  6.  
  7. WHAT DO I NEED IN ORDER TO USE IT?
  8.  
  9.     Three files are required:
  10.  
  11.         BISON.EXE,          ( the executable file )
  12.         SIMPLE.PRS,         ( template for simple, non-reentrant parser )
  13.         HAIRY.PRS           ( template for reentrant parser )
  14.  
  15.     They may all be in the same subdirectory, or the parser templates,
  16.     SIMPLE.PRS and HAIRY.PRS, may be located elsewhere. In the latter
  17.     case, you must specify their full path/filename in the  environment
  18.     variables BISON_SIMPLE and BISON_HAIRY.  Using only the subdirectory
  19.     path is insufficient.
  20.  
  21.     EXAMPLE:
  22.  
  23.         If SIMPLE.PRS is located in C:\usr\tools\bin,
  24.         then you must issue the DOS command:
  25.  
  26.             set bison_simple=c:\usr\tools\bin\simple.prs
  27.  
  28.